package com.LearnInWorld.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

/*
评论表实体类

存放用户评论

*/
@Table(name="tb_comments")
public class Comments {
  //评论表ID
  @Id
  private Long commentsId;
  //评论的内容
  private String commentsDetails;
  //评分
  private Long commentsScore;
  //评论时间
  private java.sql.Timestamp commentsTime;
  //评论者的id
  private Long userId;
  //课程ID
  private Long timetableId;
  
  
  

  public Long getCommentsId() {
    return commentsId;
  }

  public void setCommentsId(Long commentsId) {
    this.commentsId = commentsId;
  }

  public String getCommentsDetails() {
    return commentsDetails;
  }

  public void setCommentsDetails(String commentsDetails) {
    this.commentsDetails = commentsDetails;
  }

  public Long getCommentsScore() {
    return commentsScore;
  }

  public void setCommentsScore(Long commentsScore) {
    this.commentsScore = commentsScore;
  }

  public java.sql.Timestamp getCommentsTime() {
    return commentsTime;
  }

  public void setCommentsTime(java.sql.Timestamp commentsTime) {
    this.commentsTime = commentsTime;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Long getTimetableId() {
    return timetableId;
  }

  public void setTimetableId(Long timetableId) {
    this.timetableId = timetableId;
  }
}
